#!/bin/bash

if [ `whoami` != "root" ]; then
    echo "需要以root用户执行"
    exit -1;
fi

echo 离线安装can环境-----------------------------------
unzip can-utils-master.zip
pushd can-utils-master
make
make install
popd
echo 离线安装can环境完成-----------------
